<head th:include="/header:: header"></head>
<div class="row">
	<div class="col-lg-12">
		<section class="panel">
			<div class="panel-body">
				<form role="form" action=" " method="post" id="form">
					<div class="row">
						<div class="col-lg-12 col-sm-12 control-label">
							<label for="name">组件关系名称</label>
							<div class="form-group">
								<input name="name" id="name" class="form-control fc-clear"
									th:value="${groupRelationship.name}" disabled="disabled" />
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-lg-8 col-sm-8 control-label form-group ">
							<label for="groupRelationshipID">组件单编号</label>
							<div class="form-group">
								<input name="groupRelationshipID" id="groupRelationshipID"
									class="form-control fc-clear"
									th:value="${groupRelationship.groupRelationshipID}"
									disabled="disabled" />
							</div>
						</div>
						<div class="col-lg-4 col-sm-4 control-label">
							<label for="requirementDate">需求输入日期</label>
							<div class="form-group">
								<input id="requirementDate" class="form-control" size="16"
									type="text" value="" disabled="disabled" />
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-lg-4 col-sm-4 control-label">
							<div class="form-group">
								<label for="isEdit">是否需要修改</label> <select name="edit"
									class="js-example-basic-single form-control" id="isEdit"
									disabled="disabled">
									<option th:selected="${groupRelationship.edit  eq false}"
										value="0">否</option>
									<option th:selected="${groupRelationship.edit  eq true}"
										value="1">是</option>
								</select>
							</div>
						</div>
						<div class="col-lg-4 col-sm-4 control-label">
							<div class="form-group">
								<label for="sszb">所属组别</label> <select name="sszb"
									class="js-example-basic-single form-control" id="sszb"
									disabled="disabled">
									<option value="">--请选择--</option>
									<option
										th:selected="${groupRelationship.confirmedUser.dept.id  eq 1}"
										value="1">申报缴税</option>
									<option
										th:selected="${groupRelationship.confirmedUser.dept.id  eq 2}"
										value="2">在线办税</option>
									<option
										th:selected="${groupRelationship.confirmedUser.dept.id  eq 3}"
										value="3">信息服务</option>
									<option
										th:selected="${groupRelationship.confirmedUser.dept.id  eq 4}"
										value="4">总体组</option>
								</select>
							</div>
						</div>
						<div class="col-lg-4 col-sm-4 control-label">
							<div class="form-group">
								<label for="optUser">处理人员</label> <select name="userId"
									class="js-example-basic-single form-control" id="optUser"
									disabled="disabled">
								</select> <input type="hidden" id="optUserInit"
									th:value="${groupRelationship.confirmedUser.id}" />
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-lg-12 col-sm-12 control-label">
							<div class="form-group">
								<label for="editPoint">修改点</label>
								<textarea id="editPoint" name="editPoint" class="form-control"
									disabled="disabled" rows="3" />
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-lg-8 col-sm-8 control-label">
							<div class="form-group">
								<label for="note">备注</label> <input name="note"
									disabled="disabled" class="form-control" id="note"
									th:value="${groupRelationship.note}" />
							</div>
						</div>
						<div class="col-lg-4 col-sm-4 control-label">
							<div class="form-group">
								<label for="confirmedDate">确认日期</label>
								<div class="form-group">
									<input id="confirmedDate" class="form-control" size="16"
										type="text" value="" disabled="disabled" />
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-lg-12 col-sm-12 control-label">
							<div class="form-group">
								<span th:if="${groupRelationship.fileName  !=  null}"> <label
									for="note">已上传文件</label> <a href="javascript:download();"><span
										th:text="${groupRelationship.fileName}"></span> </a>
								</span><input type="hidden" th:value="${groupRelationship.fileName}"
									id="fileName" /><input type="hidden"
									th:value="${groupRelationship.fileStr}" id="fileStr" />
							</div>
						</div>
					</div>
				</form>
			</div>
		</section>
	</div>
</div>
<script th:src="@{../modular/pms/mysql/groupRelationship/view.js}"></script>

<script th:inline="javascript">
    $("#editPoint").val([[${groupRelationship.editPoint}]]);
    var requirementDate =  [[${groupRelationship.requirementDate}]] == null  ? "":[[${groupRelationship.requirementDate}]].substring(0,10);;
    var confirmedDate =  [[${groupRelationship.confirmedDate}]] == null  ? "":[[${groupRelationship.confirmedDate}]].substring(0,10); 
    $("#requirementDate").val(requirementDate);
    $("#confirmedDate").val(confirmedDate);
</script>
<div th:include="/footer:: footer"></div>
